/*
 * @Author: 黄宇/hyuishine
 * @Date: 2021-04-08 14:31:17
 * @LastEditors: 徐伟杰
 * @LastEditTime: 2022-10-13 10:57:35
 * @Description:
 * @Email: hyuishine@gmail.com
 * @Company: 3xData
 * @youWant: add you want
 */
import Vue from "vue";
import Vuex from "vuex";

import login from "./modules/login.js";
import common from "./modules/common.js";
import message from "./modules/message.js";
import task from "./modules/task.js";
import organizeInfoChange from "./modules/organizeInfoChange.js";
import peopleManage from "./modules/peopleManage.js";
import reportSign from "./modules/reportSign.js";
import unitTask from "./modules/unitTask.js";
import home from "./modules/home.js";
import site from "./modules/site.js";
import fault from "./modules/fault.js";
import socialUnit from "./modules/socialUnit.js";
import evaluate from "./modules/evaluate.js";

// 缓存执业树
import manage from "./modules/manage.js";
Vue.use(Vuex);

const store = new Vuex.Store({
  modules: {
    login,
    common,
    message,
    task,
    unitTask,
    site,
    organizeInfoChange,
    peopleManage,
    reportSign,
    home,
    fault,
    socialUnit,
    manage,
    evaluate,
  },
});
export default store;
